import React, { Component } from 'react'

import {withRouter,RouteComponentProps} from 'react-router-dom'

interface Iprops extends RouteComponentProps{
    match:any
}

export default class Detail extends Component <Iprops>{

    componentDidMount(){
        console.log(this.props.match.params.id)
    }
    render() {
        return (
            <div>
                Detail
            </div>
        )
    }
}
